package com.heima.model.schedule.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum TaskStatus {

    INIT(0,"初始化"),
    EXECUTED(1,"已执行"),
    CANCELLED(2,"已取消");

    @EnumValue
    final Integer status;
    final String description;

    TaskStatus(Integer status,String description){
        this.description = description;
        this.status = status;
    }


}
